      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: 'Segoe UI', sans-serif;
        min-height: 100vh;
        background: #333;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
      }

      .container {
        display: flex;
        /*此处为了 之后添加元素后 变得可维护 可扩展*/
        width: 90vw;
        height: 70vh;
        position: relative;
        overflow: hidden;
        /*为了下面flex布局的多张按行排列的图片 其中超出容器的隐藏 只显示宽90高70的区域*/
        border-radius: 10px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
      }

      /* 轮播轨道容器 */
      .carousel-track {
        display: flex;
        /*让图片多张横向排列*/
        height: 100%;
        transition: transform 0.5s ease-in-out;
      }

      .panel {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 10px;
        flex: 0 0 auto;
        /* 宽度为100%*/
        width: 100%;
        height: 100%;
        margin: 0;
        position: relative;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
        transition: transform 0.5s ease-in-out;
      }

      .panel h3 {
        font-size: 24px;
        opacity: 1;
        z-index: 10;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        background-color: rgba(0, 0, 0, 0.3);
        padding: 10px 20px;
        border-radius: 5px;
      }



      .dot-indicators {
        position: absolute;
        bottom: 30px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 10px;
      }

      .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: background 0.3s;

      }

      .dot.active {
        background: white;
      }

      .buttons {
        position: absolute;
        left: 0;
        right: 0;
        top: 240px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        display: none;
      }

      .buttons_pre {
        width: 40px;
        height: 40px;
        /*只右半部分圆角*/
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        /* 灰白色 */
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
      }

      .buttons_next {
        width: 40px;
        height: 40px;
        /*只左半部分圆角*/
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
      }



      .container:hover .buttons {
        display: flex;
      }

      /* .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  display: none;
  z-index: 10;
}

.nav-btn.prev {
  left: 10px;
}

.nav-btn.next {
  right: 10px;
}

.panel:hover .nav-btn {
  display: block;
} */